Optimal. Leaf size=96 \[ \frac{(A-7 B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}+\frac{(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.275696, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {2972, 2742} \[ \frac{(A-7 B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}+\frac{(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2972
Rule 2742
Rubi steps
\begin{align*} \int \frac{(a+a \sin (e+f x))^{5/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx &=\frac{(A+B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}}+\frac{(A-7 B) \int \frac{(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx}{8 c}\\ &=\frac{(A+B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}}+\frac{(A-7 B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}\\ \end{align*}
Mathematica [A] time = 3.0597, size = 145, normalized size = 1.51 \[ \frac{a^2 \sqrt{a (\sin (e+f x)+1)} \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right ) ((4 A+17 B) \sin (e+f x)-3 (A-B) \cos (2 (e+f x))+5 A-3 B \sin (3 (e+f x))-5 B)}{12 c^4 f (\sin (e+f x)-1)^4 \sqrt{c-c \sin (e+f x)} \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.283, size = 309, normalized size = 3.2 \begin{align*} -{\frac{ \left ( A \left ( \cos \left ( fx+e \right ) \right ) ^{4}-A \left ( \cos \left ( fx+e \right ) \right ) ^{3}\sin \left ( fx+e \right ) -B \left ( \cos \left ( fx+e \right ) \right ) ^{4}+B \left ( \cos \left ( fx+e \right ) \right ) ^{3}\sin \left ( fx+e \right ) +4\,A \left ( \cos \left ( fx+e \right ) \right ) ^{3}+5\,A \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) +2\,B \left ( \cos \left ( fx+e \right ) \right ) ^{3}+B \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -9\,A \left ( \cos \left ( fx+e \right ) \right ) ^{2}+4\,A\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) +3\,B \left ( \cos \left ( fx+e \right ) \right ) ^{2}-4\,B\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) -10\,A\cos \left ( fx+e \right ) -14\,A\sin \left ( fx+e \right ) -2\,B\cos \left ( fx+e \right ) +2\,B\sin \left ( fx+e \right ) +14\,A-2\,B \right ) \sin \left ( fx+e \right ) }{6\,f \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{3}- \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}-2\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) -2\,\cos \left ( fx+e \right ) +4\,\sin \left ( fx+e \right ) +4 \right ) } \left ( a \left ( 1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{5}{2}}} \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{-{\frac{9}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.50729, size = 400, normalized size = 4.17 \begin{align*} -\frac{{\left (3 \,{\left (A - B\right )} a^{2} \cos \left (f x + e\right )^{2} - 4 \,{\left (A - B\right )} a^{2} + 2 \,{\left (3 \, B a^{2} \cos \left (f x + e\right )^{2} -{\left (A + 5 \, B\right )} a^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{6 \,{\left (c^{5} f \cos \left (f x + e\right )^{5} - 8 \, c^{5} f \cos \left (f x + e\right )^{3} + 8 \, c^{5} f \cos \left (f x + e\right ) + 4 \,{\left (c^{5} f \cos \left (f x + e\right )^{3} - 2 \, c^{5} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B \sin \left (f x + e\right ) + A\right )}{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{5}{2}}}{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{9}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]